<?php 
if(!empty($userInfoLayout)){
        $userShow = $userInfoLayout;
}else{
		$userShow = $userCurrent;
}
?>
<div class="fix_out">
<div class="backgrounp_user">
<img class="backgrounp_user" alt="" src="<?php echo $userShow['bg_home']==''?$userShow['avata']:$userShow['bg_home']; ?>">
<div class="edit_bg hidden"></div>
<img class="avatar" alt="" src="<?php echo $userShow['avata']; ?>">
</div>
<div class="info_user" style="height: 75px;">
<div class="viewInfo" style="margin: 5px 0px 0px 263px;">
<p style="font-size: 14px;font-weight: 600;"><?php echo $userShow['full_name'];?></p>
<?php
      $star = 0;
      if($userShow['total_rate'] != 0)
       $star = round($userShow['total_star']/$userShow['total_rate'],0);
        if($star == 0){
        echo '<span class="star-no-view">&nbsp;</span>';
        }elseif($star == 5){
        echo '<span class="star-view">&nbsp;</span>';
         }else{
              for($i=0;$i<$star;$i++){
               echo '<span class="star-view-one">&nbsp;</span>';
               }
              for($i=0;$i<(5-$star);$i++){
         echo '<span class="star-no-view-one">&nbsp;</span>';
       }
	 }
?>
<p style="font-size: 11px;margin: 2px 0px 0px 0px;"> 
	<span class="detail-star"><b class="link-price"><?php echo $userShow['total_rate']; ?></b> Bình chọn</span>&nbsp;    
	<span class="detail-star"><b class="link-price"><?php echo $userShow['total_comment']; ?></b> Bình Luận</span>
</p>
<p>Hiện đang là...</p>
<div class="count_save">
<b class="link-price"><?php echo $userShow['total_rate']; ?></b>
<span class="detail-star"> Lượt lưu</span>&nbsp;
</div>
</div>

</div>
<div class="category">
</div>
<div class="price">
</div>
</div>